-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
부산대 BE_원윤서 2주차 과제(Step1) #194
Open
yoonsu0325
wants to merge
15
commits into
kakao-tech-campus-2nd-step2:main
Choose a base branch
from
yoonsu0325:step1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
validation 의존성 추가
record에서 class로 수정
ProductDTO의 필드에 조건과 오류메시지 추가
product -> newProduct로 수정
상품 추가 API에 검증 기능 추가
상품 수정 API에 검증 기능 추가
Product를 record에서 class로 바꾸면서 생긴 오류 수정
상품 추가, 수정 뷰를 나눔 잘못된 필드 값이 입력된 경우 오류 메시지 출력
상품 추가 뷰와 수정 뷰를 분리 상품을 수정할 때 잘못된 필드 값이 들어온 경우 오류 메시지 출력
구현할 기능 목록
Product 객체를 파라미터로 받는 생성자 & AssertTrue로 "카카오" 단어 포함 체크
"카카오" 단어 포함 검증하는 파트 삭제, 상품 수정 뷰에 ProductDTO를 attribute로 전달
AssertTrue를 통과하지 못한 경우 에러메시지 출력
AssertTrue를 통과하지 못한 경우 에러메시지 출력
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
피드백 반영했습니다!